package com.elearning.service.impl;

import com.elearning.dao.CourseMapper;
import com.elearning.pojo.Course;
import com.elearning.service.ICourseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("courseService")
public class CourseServiceImpl implements ICourseService{

    @Autowired
    private CourseMapper courseMapper;

    public Course selectCourse(Long courseId){
        return courseMapper.selectCourse(courseId);
    }

}
